<template>
	<view class="content">
		<view class="section-0">
			<view class="section-body">
				<view class="wrapper">
					<view class="title">会议材料
						<view>
							<text class="iconfont icon-shangchuan"></text>
							上传材料
						</view>
					</view>
					<view class="value l-value">
						<view class="file">
							<text class="iconfont icon-huixingzhen"></text>2022-2-10安委会会议材料.doc
						</view>
					</view>
				</view>
				<view class="wrapper">
					<view class="title">会议纪要
						<view class="forbidden" v-if="type === '未召开'">
							<text class="iconfont icon-shangchuan"></text>
							<!-- text>上传材料</text> -->
							<text>暂时无法上传</text>
						</view>
					</view>
					<view class="value l-value">
						<view class="file">
							<!-- <text class="iconfont icon-huixingzhen"></text>2022-2-10安委会会议材料.doc -->
						</view>
					</view>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	import { mapGetters, mapActions} from 'vuex';
	export default {
		data() {
			return {
				type: ''
			};
		},
		methods:{
			
		},
		onReady() {
			
		},
		onLoad(data) {
			const params = JSON.parse(data.params);
			this.type = params.state;
		}
	}
</script>

<style lang="scss" scoped>
	.section-0{
		background-color: #2a5afd;
		.section-body{
			width: 100%;
			background-color: #fff;
			border-top-left-radius: 50rpx;
			border-top-right-radius: 50rpx;
			box-sizing: border-box;
			padding: 40rpx;
			.wrapper {
				width: 100%;
				border-radius: 35rpx;
				background-size: cover;
				background-repeat: no-repeat;
				overflow: hidden;
				box-sizing: border-box;
				box-shadow: 0 0 20rpx 10rpx rgba(#bcbcb5, 0.17);
				padding: 28rpx 40rpx;
				margin-bottom: 24rpx;
				.label {
					width: 135rpx;
					float: left;
					font-size: 26rpx;
					font-weight: bold;
					font-stretch: normal;
					height: 48rpx;
					line-height: 48rpx;
					letter-spacing: 0px;
					color: #46464a;
				}
			
				.title {
					width: 100%;
					height: 30rpx;
					line-height: 30rpx;
					border-bottom: solid 3rpx #f2f2f0;
					font-size: 26rpx;
					font-weight: bold;
					font-stretch: normal;
					letter-spacing: 0rpx;
					color: #46464a;
					padding-bottom: 28rpx;
					view {
						float: right;
						font-size: 26rpx;
						color: #1534ce;
						font-weight: normal;
						.iconfont{
							font-size: 26rpx;
							margin-right: 5rpx;
						}
					}
					.forbidden{
						color: #e0e0e0;
						.iconfont{
							color: #e0e0e0;
						}
					}
				}
			
				.value {
					
					.audio {
						width: 50rpx;
						height: 50rpx;
						background-color: #ffffff;
						border-radius: 50%;
						box-shadow: 0 0 20rpx 10rpx rgba(#bcbcb5, 0.17);
						overflow: hidden;
			
						.audio-center {
							margin-top: 13rpx;
							margin-left: 13rpx;
							border-radius: 50%;
							width: 24rpx;
							height: 24rpx;
							background-color: #ed451b;
						}
					}
			
					.upload-wrap {
						width: 100%;
						min-height: 48rpx;
						border-radius: 20rpx;
						border: solid 2rpx #0535d6;
						position: relative;
			
						.iconfont {
							position: absolute;
							right: 25rpx;
							line-height: 44rpx;
							color: #1534ce;
							font-size: 28rpx;
						}
					}
			
					.date {
						width: 100%;
						height: 48rpx;
						border-radius: 20rpx;
						border: solid 2rpx #0535d6;
						line-height: 48rpx;
						position: relative;
						font-size: 26rpx;
						color: rgba(0, 0, 0, 0.7);
						box-sizing: border-box;
						padding-left: 20rpx;
						text-align: center;
						color: #0535d6;
			
						.iconfont {
							position: absolute;
							right: 25rpx;
							top: 2rpx;
							font-size: 30rpx;
							color: #dad9df;
						}
					}
			
					.picker {
						width: 100%;
						height: 48rpx;
						border-radius: 20rpx;
						border: solid 2rpx #0535d6;
						line-height: 48rpx;
			
						text {
							font-size: 26rpx;
							letter-spacing: 0rpx;
							color: rgba(#46464a, 0.5);
							margin-left: 28rpx;
						}
			
						.iconfont {
							float: right;
							font-size: 32rpx;
						}
					}
			
					.input {
						padding-top: 18rpx;
			
						.input-body {
							box-sizing: border-box;
							width: 100%;
							height: 44rpx;
							padding: 0 !important;
							border: none;
							font-size: 26rpx;
							font-weight: normal;
							font-stretch: normal;
							letter-spacing: 0rpx;
							color: rgba(0, 0, 0, 0.7);
						}
			
						.input-placeholder {
							font-size: 26rpx;
							font-weight: normal;
							font-stretch: normal;
							letter-spacing: 0rpx;
							color: rgba(0, 0, 0, 0.5);
						}
					}
			
					.textarea {
						width: 100%;
						height: 300rpx;
						line-height: 30rpx;
			
						.textarea-body {
							box-sizing: border-box;
							width: 100%;
							height: 300rpx;
							border: none;
							padding: 18rpx 0rpx !important;
							font-weight: normal;
							font-stretch: normal;
							letter-spacing: 0rpx;
			
							/deep/ .u-textarea__field {
								height: auto !important;
								font-size: 25rpx;
							}
						}
			
						/deep/ .u-textarea--disabled {
							background-color: #fff;
						}
			
						.textarea-placeholder {
							font-size: 25rpx;
							font-weight: normal;
							font-stretch: normal;
							line-height: 50rpx;
							letter-spacing: 3rpx;
							color: rgba(0, 0, 0, 0.5);
						}
					}
					
					.file{
						width: 100%;
						line-height: 30rpx;
						padding-top: 28rpx;
						font-size: 26rpx;
						color: #1534ce;
						.iconfont{
							font-size: 26rpx;
							margin-right: 10rpx;
						}
					}
				}
			
				.l-value {
					width: 100%;
				}
			}
		}
	}
	
</style>
